﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CSF.BusinessCore.Data;
using System.ComponentModel.DataAnnotations;

namespace CSF.Security.Data
{
    /// <summary>
    /// 权限数据类
    /// </summary>
    public class Permission : TransactionConfig
    {
        #region Database Table Field Mapping members

        public int ApplicationId { get; set; }

        public bool NoCustomer { get; set; }
        public bool NoStaff { get; set; }
        public int? ParentId { get; set; }

        [Required]
        public string Path { get; set; }

        #endregion Database Table Field Mapping members
    }
}
